﻿''' <summary>
''' 設定値読み込みイベント引数
''' </summary>
''' <remarks></remarks>
Public Class SettingReadEventArgs
    Inherits EventArgs

    Public Sub New(env As String, name As String, value As String, tag As String)
        _environmentName = env
        _settingName = name
        Me.Value = value
        _tag = tag
    End Sub

    Private _environmentName As String
    ''' <summary>
    ''' 環境名
    ''' </summary>
    Public ReadOnly Property EnvironmentName As String
        Get
            Return _environmentName
        End Get
    End Property

    Private _settingName As String
    ''' <summary>
    ''' 設定名
    ''' </summary>
    Public ReadOnly Property SettingName As String
        Get
            Return _settingName
        End Get
    End Property

    ''' <summary>
    ''' 値
    ''' </summary>
    ''' <remarks>上書きすることで差し替え可</remarks>
    Public Property Value As String

    Private _tag As String
    ''' <summary>
    ''' タグ
    ''' </summary>
    ''' <remarks>設定のグルーピングなどに使用</remarks>
    Public ReadOnly Property Tag As String
        Get
            Return _tag
        End Get
    End Property
End Class
